package br.com.skolar.client;


import br.com.skolar.client.framework.Callback;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.gwt.user.client.History;

public class Skolar implements EntryPoint {
	@GinModules(Module.class)
	public interface Injector extends Ginjector {
		Controller manager();
		Callback callback();
	}

	@Override
	public void onModuleLoad() {
		Injector i = GWT.create(Injector.class);
		i.manager().go(History.getToken());
	}
}